

package com.yungu.swift.order.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.order.model.dto.OrderSecretNoDto;
import com.yungu.swift.order.model.param.SecretNoParam;

import java.util.Map;

/**
 * Copyright © 厦门云谷互联信息有限公司 2018-2020 All Right Reserved
 * <p>
 * 订单隐私号码配对表
 *
 * @author Mojo - Generate
 * @version 1.0.2-RELEASE
 * @since 2019-01-02 09:33:37
 */
public interface OrderSecretNoService extends BaseService<OrderSecretNoDto> {

    /**
     * 新增隐私小号绑定
     *
     * @return
     */
    ResponseData<String> addBingding(SecretNoParam secretNoParam);

    /**
     * 更新司机号码绑定关系
     *
     * @return
     */
    ResponseData<String> updateNoB(SecretNoParam secretNoParam);

    /**
     * 更新绑定超时时间
     *
     * @return
     */
    ResponseData<Boolean> updateExpire(SecretNoParam secretNoParam);

    /**
     * 解绑隐私号
     *
     * @return
     */
    ResponseData<Void> unbind(String orderUuid);

    /**
     * 查詢隐私号
     *
     * @return
     */
    ResponseData<Map<String, String>> queryBinding(SecretNoParam secretNoParam);
}